<?php 
include '../functions.php';
//p(1);
//在未找到类的名称自动载入
function __autoload($cname){
	include "./Controller/{$cname}.class.php";
}
$obj = new IndexController;
$a = isset($_GET['a']) ? $_GET['a'] : 'Index'; 
$obj->$a();
 ?>